<?php

class Generator_Form_Module extends Zend_Form
{

	public function __construct(Zend_Controller_Action $controller)
	{
		$table_name = $this->createElement ( 'text', 'table_name' )->setLabel ( "Tên bảng" )->setRequired ( true );
		$module_name = $this->createElement ( 'text', 'module_name' )->setLabel ( "Tên module" )->setRequired ( true );
		
		$this->addElements ( array (
			$module_name,
		) );
		
		$controller->getHelper ( 'common' )->form ( $this );
	}
}
